import { defHttp } from '@/utils/http/axios';

export const orgManager = '/orgManager';

// 暂存和提交
export function orgManagerSave(data) {
  return defHttp.post({ url: `${orgManager}/save`, data });
}

//项目经理变更
export function changeManager(fid) {
  return defHttp.get({ url: `${orgManager}/changeManager/${fid}` });
};

// 获取项目经理任命的历史版本
export function historyProjectmanagerList(salesProjectCode) {
  return defHttp.get({ url: `${orgManager}/historyList/${salesProjectCode}` });
};